package com.yami.shop.consign.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tz_consign_analysis")
public class ConsignAnalysis {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Integer prodId;

    /**
     * 热度（自选数量）
     */
    private Integer hotspot;

    /**
     * 实时价/最新价
     */
    private Integer latestPrice;

    /**
     * 涨幅
     */
    private Double increase;

    /**
     * 昨日收盘价
     */
    private Integer closingPrice;

    /**
     * 今日最高价
     */
    private Integer dayHighPrice;

    /**
     * 今日最低价
     */
    private Integer dayLowPrice;

    /**
     * 本周最高价(自然周：一~日)
     */
    private Integer weekHighPrice;

    /**
     * 本周最低价
     */
    private Integer weekLowPrice;

    private Date updateTime;

}